﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Navigation;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;

namespace DiamondDash.Views
{
    public partial class GameScoreView : UserControl
    {
        public GameScoreView()
        {
            InitializeComponent();
        }

        public void SetScore(int score)
        {
            //设置分数，然后做个动画
            this.txtScore.Text = score.ToString();
            this.StoryboardScoreChange.Begin();
        }
    }
}
